package LCP;

public class LCP6 {
    public int minCount(int[] coins) {
        int ans = 0;
        for (int coin : coins) {
            ans += coin /2 +  (coin %2  ==1 ?1:0);
        }
        return  ans;
    }
}
